package com.zb.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zb.annotation.NumberPattern;
import com.zb.result.PageUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author WEN
 * @Date 2023/10/25 0025
 **/
@Data
@ApiModel("工单服务费用列表搜索条件对象")
public class OrderFeeListSelectVo extends PageUtil {
    @ApiModelProperty(value = "工单单号，支持模糊查询")
    private String workNo;

    @ApiModelProperty(value = "费用单号，支持模糊查询")
    private String feeNo;

    @NumberPattern(regexp = "^(1|2|3|4|5)$", message = "服务费用项目状态不合法")
    @ApiModelProperty(value = "服务费用项目状态：1-待审核、2-已通过、3-已驳回、4-已撒回，5-已取消")
    private Integer status;

    @ApiModelProperty(value = "申请人名称，支持模糊查询")
    private String applyEmp;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "申请开始时间")
    private Date createStartTime;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "申请结束时间")
    private Date createEndTime;
}
